package com.ls.controller.team.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;

/**
 * @ClassName QueryTeamModel
 * @Description APP用户 查询分组字段
 * @Author pengyu
 * @Date 2024/6/27 17:14
 * @Version 1.0
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class QueryTeamModel {
    /**分组名称*/
    private String teamName;
    /**分组类型 0员工分组，1客户分组，2为亲友*/
    @Max(value = 2)
    @Min(value = 0)
    private Integer teamType;
    private Long customerId;
}
